package ace.cmp.spring.graphql.core.configurer;

import graphql.language.Type;

/**
 * @author caspar
 * @date 2023/8/25 11:57 implements：
 * 1、graphql schema inject to assign field of type.if not exist
 */
public interface GraphqlSchemaInjectToTypeField {
  /**
   * if this is null,not to inject
   *
   * @return
   */
  String getInjectToFieldName();

  /**
   * if this is null,not to inject
   *
   * @return
   */
  String getInjectToTypeName();

  Type getInjectType();
}
